Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump @aws-lambda-powertools/logger from 1.14.0 to 1.18.0 in /source/image-handler #354

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Feb 1, 2024

Bumps @aws-lambda-powertools/logger from 1.14.0 to 1.18.0.

Release notes

Sourced from @​aws-lambda-powertools/logger's releases.

v1.18.0

Summary

This minor release introduces improvements around how the Idempotency utility handles conditional writes when used with DynamoDB as persistence layer. Additionally the release fixes an issue with expired AppConfig session tokens that affected long lived execution environments.

Idempotency: DynamoDB storage optimization

The Idempotency utility uses conditional writes to persist the idempotency state of a request. A failed conditional write signals to the utility that the request payload being processed has already been tried or is currently being processed.

Previously, condition check errors in single write operations did not return a copy of the item in the event of a condition check error. A separate read request was necessary to get the item and investigate the cause of the error.

Now that AWS introduced the ability to return a copy of the item as it was during the write attempt the Idempotency utility simplifies and lowers the cost of handling retries by removing the need to perform a separate read operation to retrieve the idempotency record of the request already processed.

Note that this feature requires you to use version v3.363.0 of the @aws-sdk/client-dynamodb or newer together with @aws-lambda-powertools/idempotency.

Parameters: AppConfig Session Token handling

When retrieving a configuration from AppConfig the Parameters utility retrieves a session token that can be used to retrieve the next value within 24 hours. Prior to this release the utility mistakenly assumed that the execution environment would be recycled before that time due to the Lambda timeout of 15 minutes.

For those customers who use provisioned concurrency or use the Parameters utility outside of Lambda however this was an issue as it caused the utility to fail retrieving new configurations from AppConfig due to an expired token. Starting from this release the utility keeps track of the token expiration timestamp and retrieves a new one before attempting to call AppConfig if the token has already expired.

Acknowledgements

Congrats to @​daschaa, @​tolutheo, and @​yamatatsu for getting their first PR merged 🎉

Changes

🌟New features and non-breaking changes

  • feat(idempotency): leverage new dynamodB Failed conditional writes behavior (#1779) by @​tolutheo

📜 Documentation updates

... (truncated)

Changelog

Sourced from @​aws-lambda-powertools/logger's changelog.

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

1.16.1 (2023-11-24)

Note: Version bump only for package aws-lambda-powertools-typescript

1.16.0 (2023-11-16)

Features

  • logger: add support for AWS_LAMBDA_LOG_LEVEL and POWERTOOLS_LOG_LEVEL (#1795) (e69abfb)

1.15.0 (2023-11-14)

Features

1.14.2 (2023-11-03)

Bug Fixes

  • metrics: deduplicate dimensions when serialising (#1780) (8181b48)

1.14.1 (2023-10-31)

Note: Version bump only for package aws-lambda-powertools-typescript

Commits
  • 7715df8 chore(release): v1.18.0 [skip ci]
  • 76fc20c chore(docs): add link to performance tuning demo (#1960)
  • a9e5ba6 chore(deps): bump the aws-sdk group with 9 updates (#1959)
  • 32a477a chore(deps-dev): bump aws-sdk from 2.1540.0 to 2.1543.0 (#1958)
  • 53976f9 chore(deps-dev): bump @​typescript-eslint/eslint-plugin (#1948)
  • 481de73 chore(deps-dev): bump @​typescript-eslint/parser from 6.19.0 to 6.19.1 (#1946)
  • 6a4213b chore(deps): bump actions/upload-artifact from 4.2.0 to 4.3.0 (#1950)
  • 9fa7724 chore(deps): bump esbuild from 0.19.11 to 0.19.12 (#1952)
  • 8c7286e chore(maintenance): add environment scope to npm token (#1957)
  • c411407 chore(deps): bump mkdocs-material from 9.5.4 to 9.5.5 in /docs (#1949)
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by aws-powertools-bot, a new releaser for @​aws-lambda-powertools/logger since your current version.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@aws-lambda-powertools/logger](https://github.com/aws-powertools/powertools-lambda-typescript) from 1.14.0 to 1.18.0.
- [Release notes](https://github.com/aws-powertools/powertools-lambda-typescript/releases)
- [Changelog](https://github.com/aws-powertools/powertools-lambda-typescript/blob/main/CHANGELOG.md)
- [Commits](aws-powertools/powertools-lambda-typescript@v1.14.0...v1.18.0)

---
updated-dependencies:
- dependency-name: "@aws-lambda-powertools/logger"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Feb 1, 2024
@dependabot dependabot bot requested a review from a team February 1, 2024 08:44
Copy link
Author

dependabot bot commented on behalf of github Feb 26, 2024

Superseded by #371.

@dependabot dependabot bot closed this Feb 26, 2024
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/source/image-handler/aws-lambda-powertools/logger-1.18.0 branch February 26, 2024 11:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants